package com.shop.mapper;

import com.shop.model.Category;
import com.shop.model.Manager;
import com.shop.model.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AdminMapper {

    List<User> getAll();

    void update(Integer id, String account,String username);

    void delete(Integer id);

    Manager selectByAccount(String account);

    void insert(Manager manager);

    User selectByPhone(String account);

    void updateUserUserType(User user);
}
